package com.ruoyi.project.lely.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;


/**
 * 分组讨论规则
 *
 * @author luoyong
 */
@Data
@ApiModel("分组讨论规则 出参VO")
public class LyGrouponRulesVO {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("商品表的商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品图片或者商品货品图片")
    private String picUrl;

    @ApiModelProperty("优惠金额")
    private BigDecimal discount;

    @ApiModelProperty("达到优惠条件的人数")
    private Integer discountMember;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("团购过期时间")
    private LocalDateTime expireTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

}
